package com.shayne.views;

import com.shayne.controllers.ScreenMainController;
import com.shayne.log.SMLog;
import com.shayne.view.renders.ScreenMainRender;


public class ScreenMainView implements ViewItf{

	private ScreenMainRender screenMainRender;
	private ScreenMainController screenMainController;
	
	public ScreenMainView() {
		initView();
	}
	
	public ScreenMainRender getScreenMainRender() {
		return screenMainRender;
	}

	public void setScreenMainRender(ScreenMainRender screenMainRender) {
		this.screenMainRender = screenMainRender;
	}
	
	public ScreenMainController getScreenMainController() {
		return screenMainController;
	}

	public void setScreenMainController(ScreenMainController screenMainController) {
		this.screenMainController = screenMainController;
	}

	@Override
	public void initView() {
//		prepare render
		screenMainRender = new ScreenMainRender();
		
//		prepare controller
		screenMainController = new ScreenMainController(this);
		SMLog.log( "Set controller for ScreenMainView success");
	}
	
	
}
